package com.teacher.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.teacher.common.CommonResult;
import com.teacher.pojo.dto.wx.WxLoginDto;
import com.teacher.pojo.dto.wx.WxValidDto;
import com.teacher.pojo.entity.WechatUser;

/**
 * <p>
 * 微信用户接口表 服务类
 * </p>
 *
 * @author zfm
 * @since 2020-12-16
 */
public interface IWechatUserService extends IService<WechatUser> {

    /**
     * 微信登录
     *
     * @param dto
     * @return
     */
    CommonResult login(WxLoginDto dto);

    /**
     * 校验用户
     *
     * @param dto
     * @return
     */
    CommonResult valid(WxValidDto dto);
}
